package com.ruoze.bdp.service;

import com.ruoze.bdp.entity.TableStructVo;

import java.util.List;
import java.util.Map;

public interface MetaService {

    List<String> getMetaDatabases(Long id);

    List<String> getMetaTables(Long id, String database);

    List<Map<String, String>> getMetaColumns(Long id, String database, String table);

    boolean createDatabase(Long id, String name);

    boolean createTable(TableStructVo tableVo);
}
